﻿//-----------------------------------------------------------------------
// <copyright company="Microsoft Corporation">
//     Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Microsoft.DevDiv.Wpf.Samples
{
    using System;
    using System.Net;
   
    public class WebRequestEventArgs : EventArgs
    {
        internal WebRequestEventArgs(WebRequest request)
        {
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }

            this.request = request;
        }

        public WebRequest Request
        {
            get { return this.request; }
        }

        private WebRequest request;
    }
}
